﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using RegisterService;
using ActionServices;
namespace RegisterService
{
   public class RegisterServices
    {
       public static IDBActionService DBService;
       public static IModuleActionService ModuleService;
       public static IGroupActionService GroupService;
       public static IGroup_Module_RoleActionService Group_Module_RoleService;
       public static IUser_GroupActionService User_GroupService;
       public static IUser_Module_RoleActionService User_Module_RoleService;
       public static IUsersActionService UserService;
       public static IStaffActionService StaffService;
       public static IAuditActionService AuditService;   
       public static IConfigurationActionService ConfigurationService;     
       public static ILanguageDicActionService LanguageDicService;
       public static IBranchActionService BranchService;
       public static ICourseActionService CourseService;
       public static ITeacherActionService TeacherService;
       public static IClassActionService ClassService;
       public static ITempStudentActionService TempStudentService;
       public static IStudentActionService StudentService;
       public static IChannelInfoActionService ChannelInfoService;
       public static IClass_FeeTimeActionService Class_FeeService;
       public static IStudent_FeeActionService Student_FeeService;
    
       public static ISubjectActionService SubjectService;
       public static ISubject_TeacherActionService SubjectTeacherService;
       public static ISubject_PointColumnActionService SubjectPointColumnService;
       public static IPointColumnActionService PointColumnService;
       public static IStudent_ResultActionService StudentResultService;
       public static IStudent_ResultDetailActionService StudentResultDetailService;
       public static IStudent_StatusActionService StudentStatusService;
       public static IProduct_GroupActionService ProductGroupService;
       public static IProduct_ProviderActionService ProductProviderService;
       public static IPayment_MethodActionService PaymentMethodService;
     
       public static IPayment_ReasonActionService PaymentReasonService;
     
       public static IProduct_UnitActionService ProductUnitService;
       public static IProduct_UnitChangeActionService ProductUnitChangeService;
       public static IProduct_WarehouseActionService ProductWareHouseService;
       public static IProductActionService ProductService;
       public static IReceipt_OtherActionService ReceiptOtherService;
       public static IAttributeActionService AttributeService;
       public static IProduct_AttributeActionService Product_AttributeService;
      
       public static IStock_MethodActionService StockMethodService;
       public static IStock_VoucherInDetailActionService StockVoucherInDetailService;
       public static IStock_VoucherInActionService StockVoucherInService;
       public static IStock_VoucherOutActionService StockVoucherOutService;
       public static IStock_VoucherOutDetailActionService StockVoucherOutDetailService;
      /// <summary>
       /// Phieu thu hoc phi
       /// </summary>

     //  public static IReceipt_VoucherStudentDetailActionService ReceiptVoucherStudentDetailService;
       
       public static IReceipt_VoucherFeeActionService ReceiptVoucherFeeService;
       /// <summary>
       /// Phieu thu ban hang
       /// </summary>
       public static IReceipt_VoucherSalesActionService ReceiptVoucherSaleService;

       public static IStudent_HistoryActionService StudentHistoryService;

       public static IStudent_RatingActionService StudentRatingService;

       public static IVoucherActionService VoucherService;

       public static IReceipt_VoucherApartmentActionService ReceiptVoucherApartmentService;

       public static IReceipt_VoucherLocalActionService ReceiptVoucherLocalService;

       public static IReceipt_VoucherSalonActionService ReceiptVoucherSalonService;

       public static IPayment_VoucherApartmentActionService PaymentVoucherApartmentService;

       public static IPayment_VoucherSchoolActionService PaymentVoucherSchoolService;

       public static ICashBookFirstPeriodActionService CashBookFirstPeriodService;


       public static IInventoryActionService InventoryService;
       public static IInventory_DetailActionService Inventory_DetailService;
       public static ICustomerActionService CustomerService;

       public static IBeginStockActionService BeginStockService;
       public static IBeginStock_DetailActionService BeginStock_DetailService;

       public static ISettingActionService SettingService;


       public static IStudent_FeeTimeActionService StudentFeeTimeService;


       public static IVwStudentFeeActionService VwStudentFeeService;
       public static ITempStudentDepositActionService TempStudentDepositService;
       public static IVwTempStudentDepositInfoActionService TempStudentDepositInfoService;
       public static void RegisterDependencyResolver()
       {

           DBService = new DBActionService();
           ModuleService = new ModuleActionService();
           GroupService = new GroupActionService();
           Group_Module_RoleService = new Group_Module_RoleActionService();
           User_GroupService = new User_GroupActionService();
           User_Module_RoleService = new User_Module_RoleActionService();
           UserService = new UsersActionService();        
           AuditService = new AuditActionService();         
           ConfigurationService = new ConfigurationActionService();
           StaffService = new StaffActionService();
           LanguageDicService = new LanguageDicActionService();
           BranchService = new BranchActionService();
           CourseService = new CourseActionService();
           TeacherService = new TeacherActionService();
           ClassService = new ClassActionService();
           TempStudentService = new TempStudentActionService();
           StudentService = new StudentActionService();
           ChannelInfoService = new ChannelInfoActionService();
           Class_FeeService = new Class_FeeTimeActionService();
           Student_FeeService = new Student_FeeActionService();
         
           SubjectService = new SubjectActionService();
           SubjectTeacherService = new Subject_TeacherActionService();
           SubjectPointColumnService = new Subject_PointColumnActionService();
           PointColumnService = new PointColumnActionService();
           StudentResultService = new Student_ResultActionService();
           StudentResultDetailService = new Student_ResultDetailActionService();
           StudentStatusService = new Student_StatusActionService();
           ProductGroupService = new Product_GroupActionService();
           ProductProviderService = new Product_ProviderActionService();
           PaymentMethodService = new Payment_MethodActionService();
         
           PaymentReasonService = new Payment_ReasonActionService();
       
           ProductUnitService = new Product_UnitActionService();
           ProductUnitChangeService = new Product_UnitChangeActionService();
           ProductWareHouseService = new Product_WarehouseActionService();
           ProductService = new ProductActionService();
           ReceiptOtherService = new Receipt_OtherActionService();
           AttributeService = new AttributeActionService();
           Product_AttributeService = new Product_AttributeActionService();
          
           StockMethodService = new Stock_MethodActionService();

           StockVoucherInDetailService = new Stock_VoucherInDetailActionService();

           StockVoucherInService = new Stock_VoucherInActionService();
           StockVoucherOutService = new Stock_VoucherOutActionService();
           StockVoucherOutDetailService = new Stock_VoucherOutDetailActionService();
          
           ReceiptVoucherFeeService = new Receipt_VoucherFeeActionService();
           ReceiptVoucherSaleService = new Receipt_VoucherSalesActionService();

           StudentHistoryService = new Student_HistoryActionService();
           StudentRatingService = new Student_RatingActionService();
           VoucherService = new VoucherActionService();
           ReceiptVoucherApartmentService = new Receipt_VoucherApartmentActionService();
           ReceiptVoucherLocalService = new Receipt_VoucherLocalActionService();
           ReceiptVoucherSalonService = new Receipt_VoucherSalonActionService();
           PaymentVoucherApartmentService = new Payment_VoucherApartmentActionService();
           PaymentVoucherSchoolService = new Payment_VoucherSchoolActionService();

           CashBookFirstPeriodService = new CashBookFirstPeriodActionService();
           StudentFeeTimeService = new Student_FeeTimeActionService();
           VwStudentFeeService = new VwStudentFeeActionService();
           InventoryService = new InventoryActionService();
           Inventory_DetailService = new Inventory_DetailActionService();
           BeginStockService = new BeginStockActionService();
           BeginStock_DetailService = new BeginStock_DetailActionService();
           CustomerService = new CustomerActionService();
           SettingService = new SettingActionService();
           TempStudentDepositService = new TempStudentDepositActionService();
           TempStudentDepositInfoService = new VwTempStudentDepositInfoActionService();
       }
    }
}
